![]() |
PATH![]() |
![]() ![]() |
These functions allow you to configure Navigation Services features.
NavLoad
pre-loads the Navigation Services library.NavUnload
unloads the Navigation Services library.NavGetDefaultDialogOptions
determines the default attributes or behavior for dialog boxes.NavDisposeReply
releases the memory used for the
NavReplyRecord
structure after your application has finished using the structure.Pre-loads the Navigation Services shared library.
OSErr NavLoad (void);
Use this function to pre-load the Navigation Services library. Pre-loading increases the memory used by your application, but it provides the best performance when using Navigation Services functions. If you don't use the
NavLoad
function, the Navigation Services shared library is not loaded until your application calls one of the Navigation Services functions and unloads after the call completes. If you use the
NavLoad
function, you must call the function NavUnload
if you want to release reserved memory prior to quitting.
Unloads the Navigation Services shared library.
OSErr NavUnload (void);
This function allows your application to unload the Navigation Services library and release the memory reserved for it. If you use the function
NavLoad
NavLoad
to load the Navigation Services library, you must call the
NavUnload
function if you want to release reserved memory prior to quitting.
Determines the default attributes or behavior for dialog boxes.
OSErr NavGetDefaultDialogOptions (NavDialogOptions *dialogOptions);
NavDialogOptions
. On return, Navigation Services fills out the structure with default option values that your application can change as needed.
This function gives you a simple way to initialize a structure of type NavDialogOptions
and set the
default dialog box options before calling one of the dialog box display functions. After you create the
NavDialogOptions
structure, you can supply it with the
NavDialogOptions
constants, described in Configuration Option Constants
, to change the configuration options.
Releases the memory allocated for a NavReplyRecord structure after your application has finished using the structure.
OSErr NavDisposeReply(NavReplyRecord *reply);
NavReplyRecord
that your application has created.
If your application calls a Navigation Services function that uses a structure of type NavReplyRecord
, you must use the
NavDisposeReply
function afterward to release the memory allotted for the
NavReplyRecord
structure.
Previous | Back Up One Level | Next |